<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>embedme: libemb/inc/IODevice.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">embedme
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_574d9269cd334a9d02d8928365303d98.html">libemb</a></li><li class="navelem"><a class="el" href="dir_207aad82934689048a9003fb51f06f7f.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#enum-members">枚举</a>  </div>
  <div class="headertitle">
<div class="title">IODevice.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_base_type_8h_source.html">BaseType.h</a>&quot;</code><br />
<code>#include &lt;iostream&gt;</code><br />
</div>
<p><a href="_i_o_device_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_o_device.html">IODevice</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">IO设备抽象类  <a href="class_i_o_device.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:afec45303531650c65545508637c44ba1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_i_o_device_8h.html#afec45303531650c65545508637c44ba1">IO_MODE_E</a> { <br />
&#160;&#160;<a class="el" href="_i_o_device_8h.html#afec45303531650c65545508637c44ba1a27022ada5ee1744f3655bfb7f20b6073">IO_MODE_RD_ONLY</a>, 
<a class="el" href="_i_o_device_8h.html#afec45303531650c65545508637c44ba1aab49360370e94dab29f897ebca46a039">IO_MODE_WR_ONLY</a>, 
<a class="el" href="_i_o_device_8h.html#afec45303531650c65545508637c44ba1ab3555901878de6149ae9f19e5334eec2">IO_MODE_RDWR_ONLY</a>, 
<a class="el" href="_i_o_device_8h.html#afec45303531650c65545508637c44ba1ac1484c93c95b30648bed3bb3c0554099">IO_MODE_APPEND_ONLY</a>, 
<br />
&#160;&#160;<a class="el" href="_i_o_device_8h.html#afec45303531650c65545508637c44ba1a2bdd54dd7b01dfe5a9ca18f0ac03171b">IO_MODE_REWR_ORNEW</a>, 
<a class="el" href="_i_o_device_8h.html#afec45303531650c65545508637c44ba1a7f1662183255add56ded747cd7c33f7f">IO_MODE_RDWR_ORNEW</a>, 
<a class="el" href="_i_o_device_8h.html#afec45303531650c65545508637c44ba1a64e611933873bb668dac36b47730f742">IO_MODE_APPEND_ORNEW</a>, 
<a class="el" href="_i_o_device_8h.html#afec45303531650c65545508637c44ba1a211addaf572cfd804c2ba3319c518c6e">IO_MODE_RDAPPEND_ORNEW</a>, 
<br />
&#160;&#160;<b>IO_MODE_INVALID</b> =0xFF
<br />
 }</td></tr>
<tr class="separator:afec45303531650c65545508637c44ba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">枚举类型说明</h2>
<a class="anchor" id="afec45303531650c65545508637c44ba1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_i_o_device_8h.html#afec45303531650c65545508637c44ba1">IO_MODE_E</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>定义输入输出模式 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a class="anchor" id="afec45303531650c65545508637c44ba1a27022ada5ee1744f3655bfb7f20b6073"></a>IO_MODE_RD_ONLY&#160;</td><td class="fielddoc">
<p>只可读(r) </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="afec45303531650c65545508637c44ba1aab49360370e94dab29f897ebca46a039"></a>IO_MODE_WR_ONLY&#160;</td><td class="fielddoc">
<p>只可写 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="afec45303531650c65545508637c44ba1ab3555901878de6149ae9f19e5334eec2"></a>IO_MODE_RDWR_ONLY&#160;</td><td class="fielddoc">
<p>只可读写(r+) </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="afec45303531650c65545508637c44ba1ac1484c93c95b30648bed3bb3c0554099"></a>IO_MODE_APPEND_ONLY&#160;</td><td class="fielddoc">
<p>只增加 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="afec45303531650c65545508637c44ba1a2bdd54dd7b01dfe5a9ca18f0ac03171b"></a>IO_MODE_REWR_ORNEW&#160;</td><td class="fielddoc">
<p>文件重写,没有则创建(w) </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="afec45303531650c65545508637c44ba1a7f1662183255add56ded747cd7c33f7f"></a>IO_MODE_RDWR_ORNEW&#160;</td><td class="fielddoc">
<p>文件可读写,没有则创建(w+) </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="afec45303531650c65545508637c44ba1a64e611933873bb668dac36b47730f742"></a>IO_MODE_APPEND_ORNEW&#160;</td><td class="fielddoc">
<p>文件可增加,没有则创建(a) </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="afec45303531650c65545508637c44ba1a211addaf572cfd804c2ba3319c518c6e"></a>IO_MODE_RDAPPEND_ORNEW&#160;</td><td class="fielddoc">
<p>文件可读或可增加,没有则创建(a+) </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2016年 七月 7日 星期四 19:49:38 , 为 embedme使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
